package model

import "go.mongodb.org/mongo-driver/bson/primitive"

//数量表
type Amount struct {
	Id         primitive.ObjectID `bson:"_id,omitempty" json:"_id" form:"_id"`
	Diameter               string `json:"diameter" bson:"diameter" form:"diameter"`                                           // 直径form:"diameter"
	Process_Length         string `json:"process_length" bson:"process_length" binding:"required" form:"process_length"`      // 工序长度
	Finish_Product         int    `json:"finish_product" bson:"finish_product" form:"finish_product"`                         // 成品
	RoughCast              int    `json:"roughcast" bson:"roughcast" form:"roughcast"`                                        // 毛胚
	Graphitization_Furnace int    `json:"graphitization_furnace" bson:"graphitization_furnace" form:"graphitization_furnace"` // 石墨化炉内
	Forth_Burn             int    `json:"forth_burn" bson:"forth_burn" form:"forth_burn"`                                     // 四焙品
	Third_Dip              int    `json:"third_dip" bson:"third_dip" form:"third_dip"`                                        // 三浸渍
	Third_Burn             int    `json:"third_burn" bson:"third_burn" form:"third_burn"`                                     // 三焙品
	Second_Dip             int    `json:"second_dip" bson:"second_dip" form:"second_dip"`                                     // 二浸渍
	Second_Burn            int    `json:"second_burn" bson:"second_burn" form:"second_burn"`                                  // 二焙品
	Second_Burn_Furnace    int    `json:"second_burn_furnace" bson:"second_burn_furnace" form:"second_burn_furnace"`          // 二焙品炉内
	Once_Dip               int    `json:"once_dip" bson:"once_dip" form:"once_dip"`                                           // 浸渍品
	Once_Burn              int    `json:"once_burn" bson:"once_burn" form:"once_burn"`                                        // 一焙品
	Once_Burn_Furnace      int    `json:"once_burn_furnace" bson:"once_burn_furnace" form:"once_burn_furnace"`                // 一次焙烧炉内
	Green_Body             int    `json:"green_body" bson:"green_body" form:"green_body"`                                     // 生坯
	Desc                   string `json:"desc" bson:"desc" form:"desc"`                                                       // 备注
	Time_Stamp             string `json:"time_stamp" bson:"time_stamp" form:"time_stamp"`									  //时间戳
}

//重量表
type Weight struct {
	Diameter               string  `json:"diameter" bson:"diameter" form:"diameter"`                                           // 直径
	Process_Length         string  `json:"process_length" bson:"process_length" form:"process_length" binding:"required"`      // 工序长度
	Finish_Product         float64 `json:"finish_product" bson:"finish_product" form:"finish_product"`                         // 成品
	RoughCast              float64 `json:"roughcast" bson:"roughcast" form:"roughcast"`                                        // 毛胚
	Graphitization_Furnace float64 `json:"graphitization_furnace" bson:"graphitization_furnace" form:"graphitization_furnace"` // 石墨化炉内
	Forth_Burn             float64 `json:"forth_burn" bson:"forth_burn" form:"forth_burn"`                                     // 四焙品
	Third_Dip              float64 `json:"third_dip" bson:"third_dip" form:"third_dip"`                                        // 三浸渍
	Third_Burn             float64 `json:"third_burn" bson:"third_burn" form:"third_burn"`                                     // 三焙品
	Second_Dip             float64 `json:"second_dip" bson:"second_dip" form:"second_dip"`                                     // 二浸渍
	Second_Burn            float64 `json:"second_burn" bson:"second_burn" form:"second_burn"`                                  // 二焙品
	Second_Burn_Furnace    float64 `json:"second_burn_furnace" bson:"second_burn_furnace" form:"second_burn_furnace"`          // 二焙品炉内
	Once_Dip               float64 `json:"once_dip" bson:"once_dip" form:"once_dip"`                                           // 浸渍品
	Once_Burn              float64 `json:"once_burn" bson:"once_burn" form:"once_burn"`                                        // 一焙品
	Once_Burn_Furnace      float64 `json:"once_burn_furnace" bson:"once_burn_furnace" form:"once_burn_furnace"`                // 一次焙烧炉内
	Green_Body             float64 `json:"green_body" bson:"green_body" form:"green_body"`                                     // 生坯
	Desc                   string  `json:"desc" bson:"desc" form:"desc"`                                                       // 备注
	Time_Stamp             string `json:"time_stamp" bson:"time_stamp" form:"time_stamp"`	 								   //时间戳
}

